<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>添加用户</title>
<jsp:include page="../../../common/head.jsp">
	 <jsp:param name="_useTree" value="true"/>
</jsp:include>
<script language="javascript">
	//页面元素验证
	function checkform()
	{
		var objarr = new Array(
		["funcGroup.funcGroupName","权限组名称","notEmpty",""],
		["funcId","权限组对应的功能点","notEmpty",""]
		);
		
		if(xj.CheckAll(objarr))
		{
			if(confirm("确认保存？"))
				return true;
			else
				return false;
		}
		else
			return false;
	}
	function clickEvent(var1)
	{
	}
</script>
	</head>
	<body>
		<form id="form1" method="post" action="updateFuncGroup.do" onsubmit="return checkform()">
		<div id="body_div">
		<w:ShowTitle name="修改权限组">
		<w:TitleButton funcName="保存" onClickFunction="" urlImg="${ctx}/images/main/save.png" funcType="submit"/>
		</w:ShowTitle>
		<div id="body_content">
			<table width="100%">
				<tr>
					<td>权限组名称：</td>
					<td class="left_align">
						<input type="text" name="funcGroup.funcGroupName" value="${funcGroup.funcGroupName }" maxlength="25" />
						<input type="hidden" name="funcGroup.funcGroupId" value="${funcGroup.funcGroupId }"/>
					</td>
					<td>权限组说明：</td>
					<td class="left_align">
						<input type="text" name="funcGroup.funcGroupDescription" value="${funcGroup.funcGroupDescription }" maxlength="100"  />
					</td>
				</tr>
				<tr><td colspan="4" class=" td_title">权限分配</td></tr>
				<tr>
					<td colspan="4" class="td_list left">
						<w:mulitboxtree chooseType="checkbox" returnValue="funcId"
							displayValue="funcName" pidname="funcParentId" content="${datalist}"
							idname="funcId" headValue="0" checkboxvalues="${funArr}"
							></w:mulitboxtree>
					</td>
				</tr>
			</table>
			</div>
			</div>
		</form>
	</body>
</html>
